summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-11-10 16:38:49 +0100
committerGitHub <noreply@github.com>2023-11-10 16:38:49 +0100
commit2f9487cd38aae71187b2f324a45b7e3657f18b48 (patch)
treed93642e212d8f9042be265c6a199f2d648c0eaf9
parentMerge pull request #11977 from SamayXD/patch-1 (diff)
parentAllocate resources for test window before getting system info (diff)
downloadyuzu-2f9487cd38aae71187b2f324a45b7e3657f18b48.tar
yuzu-2f9487cd38aae71187b2f324a45b7e3657f18b48.tar.gz
yuzu-2f9487cd38aae71187b2f324a45b7e3657f18b48.tar.bz2
yuzu-2f9487cd38aae71187b2f324a45b7e3657f18b48.tar.lz
yuzu-2f9487cd38aae71187b2f324a45b7e3657f18b48.tar.xz
yuzu-2f9487cd38aae71187b2f324a45b7e3657f18b48.tar.zst
yuzu-2f9487cd38aae71187b2f324a45b7e3657f18b48.zip
-rw-r--r--src/yuzu/vk_device_info.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/yuzu/vk_device_info.cpp b/src/yuzu/vk_device_info.cpp
index 92f10d315..ab0d39c25 100644
--- a/src/yuzu/vk_device_info.cpp
+++ b/src/yuzu/vk_device_info.cpp
@@ -31,6 +31,7 @@ void PopulateRecords(std::vector<Record>& records, QWindow* window) try {
// Create a test window with a Vulkan surface type for checking present modes.
QWindow test_window(window);
test_window.setSurfaceType(QWindow::VulkanSurface);
+ test_window.create();
auto wsi = QtCommon::GetWindowSystemInfo(&test_window);
vk::InstanceDispatch dld;